#pragma once
#include "PrimitiveParser.h"

class CylinderParser :
	public PrimitiveParser
{
public:
	float base,top,height;
	int slices,stacks;
	bool base_disk,top_disk;
	GLUquadric* cyl_glQ;

	CylinderParser(void);
	~CylinderParser(void);

	Primitive getType() {return CYLINDER;}

	CylinderParser(float base, float top, float height, int slices, int stacks,string tx_id ,string mat_id);

	void render();
	void render(TextureParser* tx);
};

